<?
die("ok");
//更新会员的推荐个数
set_time_limit(1000);

require_once("../config/dbconn.php");require_once("../config/powercls.php");

$curday=date('Y-m-d',$curtime);
$sql="select * from {$db_prefix}users where from_unixtime(confirmtime,'%Y-%m-%d')='$curday' and id>=2499 and id<=2545";
echo $sql."<Br>";
$result=$db->query($sql);
if ($db->num_rows($result)==0) die("ok了");
while($rs=$db->fetch_array($result)){
	$tjuser=$rs['tjuser'];$regpv=$rs['regpv'];$username=$rs['username'];$bduser=$rs['bduser'];
	if (trim($tjuser)){
		$hytjupstr='';
		gettjupstrfunc(trim($tjuser),1,$glo_gljdai3_3);
		if ($hytjupstr!=''){
			$tjstr=$hytjupstr;
			require("../entera2.php");
		}
	}
	
}
$db->free_result($result);

echo "ok";
exit();
?>